package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;

import java.util.List;

public interface UserDateService {
    List<Integer> findRoleIdsByUserId(Integer id);

    void add(Integer[] roleIds, User user);

    PageResult findPage(QueryPageBean queryPageBean);

    User findById(Integer id);

    void edit(Integer[] roleIds, User user);

    List<User> findAll();

    void deleteById(Integer id);
}
